package cn.bdqn.dao;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import cn.bdqn.pojo.Bill;
import cn.bdqn.pojo.Provider;


public interface BillDao {
	int getCountByConditions(@Param("queryProductName")String queryProductName,@Param("queryProviderId")Integer queryProviderId,@Param("queryIsPayment")Integer queryIsPayment);
	List<Bill> findByPageConditions(@Param("form")Integer form,@Param("pageSize")Integer pageSize,
			@Param("queryProductName")String queryProductName,@Param("queryProviderId")Integer queryProviderId,@Param("queryIsPayment")Integer queryIsPayment);
	Bill findByCode(@Param("billCode")String billCode);
	int updateByBill(Bill bill);
	int addBill(Bill bill);
	int deleteByCode(String billCode);

}
